-- GENERATED SPELL FOR [Sa'at] --


function spell0_20201(pUnit, Event) --6Conjure Chrono-Beacon,n/a--
pUnit:FullCastSpellOnTarget(34975,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20201', 1000, 1)
end

function Sorts_20201(pUnit, Event)
local choix_sorts_20201 = math.random(0, 0)
if choix_sorts_20201 == 0 then
pUnit:RegisterEvent('spell0_20201', 1, 1)
end
end

function mob20201_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20201', math.random(1500, 3000), 1)
end

function mob20201_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20201_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20201_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20201, 1, 'mob20201_Action')
RegisterUnitEvent(20201, 2, 'mob20201_Leave')
RegisterUnitEvent(20201, 3, 'mob20201_Kill')
RegisterUnitEvent(20201, 4, 'mob20201_Die')
